package com.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

public class UserDTO {
    @ExcelProperty("账号")
    @TableId(value = "id",type= IdType.AUTO)
    private int id;
    @ExcelProperty("姓名")
    @TableField("name")
    private String name;
    @ExcelProperty("密码")
    @TableField("password")
    private String password;
    @ExcelProperty("性别")
    @TableField("sex")
    private String sex;
    @ExcelProperty("年龄")
    @TableField("age")
    private int age;
    @ExcelProperty("邮箱")
    @TableField("email")
    private String email;

    @TableId(value = "rId",type= IdType.AUTO)
    private int rId;
    @TableField("rState")
    private int rState;
    @TableField("rName")
    private String rName;
    @TableField("rDescription")
    private String rDescription;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getrId() {
        return rId;
    }

    public void setrId(int rId) {
        this.rId = rId;
    }

    public int getrState() {
        return rState;
    }

    public void setrState(int rState) {
        this.rState = rState;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName;
    }

    public String getrDescription() {
        return rDescription;
    }

    public void setrDescription(String rDescription) {
        this.rDescription = rDescription;
    }
}
